<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>礼包详情</title>
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet"
	href="${pageContext.request.contextPath }/js/common/bootstrap/css/bootstrap.min.css">

<!-- 可选的Bootstrap主题文件（一般不用引入） -->
<link rel="stylesheet"
	href="${pageContext.request.contextPath }/js/common/bootstrap/css/bootstrap-theme.min.css">

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="${pageContext.request.contextPath }/js/jquery-3.1.1.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script
	src="${pageContext.request.contextPath }/js/common/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
	<table align="center" width="100%" class="table">
		<tr>
			<td width="70%">
			<div style="overflow-x: auto; overflow-y: auto; height: 600px; width:1000px;">
				<table align="center" class="table table-hover table-condensed">

					<input type="hidden" name="bag_id" value="${bag.bag_id }" />
					<tr>
						<td width="10%" align="right">礼包名称:</td>
						<td width="30%">${bag.bag_name }</td>
						<td width="10%" align="right">状态:</td>
						<td width="30%">${bag.status==1?"在售":"下架"}</td>
					</tr>
					<tr>
						<td align="right">列表图片:</td>
						<td>
							<div
								style="width: 100px; height: 100px; border-radius: 50%; overflow: hidden;">
								<img width="100px" height="100px"
									src="http://localhost:8081/bsc/js/${bag.cover_big_photo}">
							</div>
						</td>
						<td align="right">封面图片:</td>
						<td>
							<div
								style="width: 100px; height: 100px; border-radius: 50%; overflow: hidden;">
								<img width="100px" height="100px"
									src="http://localhost:8081/bsc/js/${bag.cover_photo }">
						</td>
						</div>
					</tr>
					<tr>
						<td align="right">礼包价格:</td>
						<td>${bag.bag_total_price }元</td>
						<td align="right">开卡数量:</td>
						<td>${bag.open_card_num }</td>
					</tr>
					<tr>
						<td align="right">每次最少购买量:</td>
						<td>${bag.min_buy_num }</td>
						<td align="right">每次最大购买量:</td>
						<td>${bag.max_buy_num }</td>
					</tr>
					<tr>
						<td align="right">允许购买次数:</td>
						<td>${bag.buy_count }</td>
						<td align="right">过期时间:</td>
						<td>${bag.overdue_time }天</td>
					</tr>
					<tr>
						<td align="right">上架时间:</td>
						<td>${bag.putaway_time }</td>
						<td align="right">下架时间:</td>
						<td>${bag.soldout_time }</td>
					</tr>
					<tr>
						<td align="right">排序号:</td>
						<td>${bag.sort_no }</td>
						<td align="right">礼包介绍:</td>
						<td>${bag.bag_introduce }</td>
					</tr>
					<tr>
						<td align="right">购买说明</td>
						<td colspan="3"><textarea class="form-control" rows="10">${bag.content }</textarea>

						</td>
					</tr>
				
				</table>
				</div>
			</td>

		</tr>
		
	</table>
 <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div>


</body>
</html>